﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS.Infrastructure.Dto.Common;

namespace WCS.Infrastructure.Dto.Request.User
{
    /// <summary>
    /// 用户小程序关联表
    /// </summary>
    public class UserMiniProgramRequestDto: BaseRequestDto
    {
        /// <summary>
        /// 关联ID
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public string? UserId { get; set; }

        /// <summary>
        /// 平台类型（1=微信,2=支付宝,3=抖音）
        /// </summary>
        public int? PlatformType { get; set; }

        /// <summary>
        /// 小程序ID(微信小程序的AppId)
        /// </summary>
        public string? AppId { get; set; }

        /// <summary>
        /// 用户在同一微信开放平台账号下所有应用（包括小程序、公众号等）的全局唯一标识
        /// </summary>
        public string? UnionId { get; set; }

        /// <summary>
        /// 用户在当前小程序中的唯一标识
        /// </summary>
        public string? OpenId { get; set; }

        /// <summary>
        /// 是否为主小程序
        /// </summary>
        public bool? IsMain { get; set; }
    }
}
